home *** CD-ROM | disk | FTP | other *** search
- #ifndef _SETJMP_H
- #define _SETJMP_H
- /*
- * Custom setjmp() and longjmp().
- * These versions must not do stack checking.
- *
- * Olaf Seibert 1993.
- */
-
- struct Jmpbuf {
- void (*pc)();
- long d1, d2, d3, d4, d5, d6, d7;
- void *a1, *a2, *a3, *a4, *a5, *a6, *sp;
- };
-
- typedef struct Jmpbuf jmp_buf[1];
-
- extern int setjmp(jmp_buf);
- extern void longjmp(jmp_buf, int);
-
- #endif
-
-